﻿<!--Oscar-->

@model FacebookLoginButton.Models.FacebookUser

@{
    ViewBag.Title = "User Information";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Model.name</h2>

<table>
    <tr><td>Facebook Id</td><td>@Model.id</td></tr>
    <tr><td>Name</td><td>@Model.name</td></tr>
    <tr><td>Username</td><td>@Model.username</td></tr>
    <tr><td>First Name</td><td>@Model.first_name</td></tr>
    <tr><td>Last Name</td><td>@Model.last_name</td></tr>
    <tr><td>Gender</td><td>@Model.gender</td></tr>
    <tr><td>Locale</td><td>@Model.locale</td></tr>
    <tr><td>Timezone</td><td>@Model.timezone</td></tr>
    <tr><td>Facebook Link</td><td>@Model.link</td></tr>
</table>

<table>
    @foreach (var relation in Model.friendsList)
    {
        <tr><td>@relation.FacebookFriend.id</td><td>@relation.FacebookFriend.name</td><td>@relation.FacebookFriend.username</td></tr>
    }
</table>